Assign a business to a user
PUT /api/v1/users/:userId/businesses/:businessId/assign
Description
Assign a business to a user.
Headers:
- Content-Type: application/json
- Authorization:
Bearer {{bearerToken}}
URL: /api/v1/users/:userId/businesses/:businessId/assign
Path Parameters:
userId(Required): User IDbusinessId(Required): Business ID
Response: The response is "OK" with a code of 200.
/api/v1/users/:userId/businesses/:businessId/assign
🔑 Authentication bearer
| Param | value | Type |
|---|---|---|
| token | bearerToken | string |
Response: 200
LANGUAGE
CURL REQUEST
curl --request PUT \
--url /api/v1/users/:userId/businesses/:businessId/assign \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!